package com.framework.loippi.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.framework.loippi.dao.BbsMsgDao;
import com.framework.loippi.entity.BbsMsg;
import com.framework.loippi.service.BbsMsgService;
import java.util.List;
/**
 * SERVICE - BbsMsg(论坛回复)
 * 
 * @author wmj
 * @version 2.0
 */
@Service
public class BbsMsgServiceImpl extends GenericServiceImpl<BbsMsg, Long> implements BbsMsgService {
	
	@Autowired
	private BbsMsgDao bbsMsgDao;
	
	
	@Autowired
	public void setGenericDao() {
		super.setGenericDao(bbsMsgDao);
	}

	public List<BbsMsg> findListByPage(Object parameter){
		return bbsMsgDao.findListByPage(parameter);
	}

	public Long deletes(Object parameter){
		return bbsMsgDao.deletes( parameter);
	}

	@Override
	public List<BbsMsg> findAllByBbsId(Long BbsId) {
		return bbsMsgDao.findAllByBbsId(BbsId);
	}


}
